package lab01;

/**
 * Created by Administrator on 2017/10/8.
 */
public class Test13 {
     public static void main(String[] args) {
          int count=0;
          for(int num=100;num<1000;num++)
          {
              int a=num%10;
              int b=num/10%10;
              int c=num/100;
              if(a*a*a+b*b*b+c*c*c==num){
                   count++;
                  System.out.print(num+" ");
              }
          }
        }
  }
